var webpack = require('webpack');

module.exports = {
    entry: __dirname + '/js/test.js',
    output: {
        path: __dirname,
        filename: 'index.bundle.js'
    },
    module: {
        loaders: [
            {
                test: /\.js$/,
                loader: 'babel-loader',
                exclude: /node_module/
            }
        ]
    },
    devServer: {
        hot: true,
        port: 9999
    }
}